#ifndef VBOMB_H
#define VBOMB_H

#include <QWidget>
#include <QPixmap>
#include <QLabel>
#include <QTimer>

#include "../Models/MPictures.h"

class VBomb: public QLabel
{
    Q_OBJECT

private:
    QWidget *parent;
    int extra;
    int direction;
    QPixmap *bomb_image;
    QTimer *timer;
    int pos_x;
    int pos_y;

public:
    VBomb(QWidget *parent = 0, int time = 0, int pos_x = 0, int pos_y = 0, int extra = 0, int direction = 0);
    ~VBomb();

public slots:
    void crash();
};

#endif
